<me:UIVRP x:Class="WPFExcelReport.TSVR05"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"     
                    xmlns:ZA="clr-namespace:WPFExcelReport;assembly=TZABED"  
                    xmlns:VA="clr-namespace:WPFExcelReport;assembly=TVAART" 
                    xmlns:VF="clr-namespace:WPFExcelReport;assembly=TVAFARBEN" 
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"  
                    xmlns:ZB="clr-namespace:WPFExcelReport;assembly=TVKZUAB"    
                    xmlns:KD="clr-namespace:WPFExcelReport;assembly=TKDSTAMM" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    FontSize="14"
                    IsEdit="False"
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIVRP.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:NOTConverter x:Key="not"/>
        <ucd:PreisConverter  x:Key="price"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIVRP.Resources>
    <StackPanel Grid.Column="0" >
        <WrapPanel Grid.Row="0" >
            <TextBlock  Text="{Binding Source={Localization:Translate Word=提货款:}}"/>
            <TextBlock  Text="{Binding INFO,ElementName=TV}"/>
            <Button  Grid.Column="1" Click="ManageCommand" Width="24" Height="20" HorizontalAlignment="Left">
                <Button.Background>
                    <ImageBrush  ImageSource="/ImagePackage;component/Images/Extend.png" />
                </Button.Background>
            </Button>
            <TextBlock FontSize="18" 
                       Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource nbv}}"
                       Text="{Binding VRPERLKZ}" Width="30"/>
            <ComboBox Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"
                    IsEditable="True" 
                    Width="Auto" 
                    SelectedValuePath="VRPREPOS" 
                    DisplayMemberPath="VRPREPOS"
                    ItemsSource="{Binding Source={StaticResource vwMaster}}" 
                    IsSynchronizedWithCurrentItem="True" 
            />
        </WrapPanel> 
    </StackPanel>
</me:UIVRP> 
 
